<template>
	<view>
		<u-cell-group>
			<u-cell v-for="item in list" :key="item.id" :title="item.activityName" isLink center
				:url="`/pages/work/rectifyNotice/rectify-notice-list?activityId=${item.id}&activityName=${item.activityName}`"></u-cell>
		</u-cell-group>
	</view>
</template>

<script>
	import {
		getAllEndActivity
	} from "@/api/supervise/work.js"
	export default {
		data() {
			return {
				list: []
			}
		},
		onLoad() {
			this.getAllEndActivity();
		},
		methods: {
			getAllEndActivity() {
				getAllEndActivity().then(res => {
					this.list = res.activities;
				});

			}
		}
	}
</script>

<style lang="scss" scoped>
</style>